if not exist %PGE_PATH%\SDK md %PGE_PATH%\SDK %PGE_PATH%\SDK\include %PGE_PATH%\SDK\LIB %PGE_PATH%\SDK\DLL %PGE_PATH%\SDK\LIB\Debug %PGE_PATH%\SDK\LIB\Release %PGE_PATH%\SDK\DLL\Debug %PGE_PATH%\SDK\DLL\Release %PGE_PATH%\SDK\PSPLIB\Debug %PGE_PATH%\SDK\PSPLIB\Release

if exist MainExportSymbol.h xcopy /a /d /y MainExportSymbol.h %PGE_PATH%\SDK\include\
if exist PGEMain.h xcopy /a /d /y PGEMain.h %PGE_PATH%\SDK\include\
if exist CRefObject.h xcopy /a /d /y CRefObject.h %PGE_PATH%\SDK\include\
if exist CRefObject.inl xcopy /a /d /y CRefObject.inl %PGE_PATH%\SDK\include\
if exist CPointer.h xcopy /a /d /y CPointer.h %PGE_PATH%\SDK\include\
if exist CObject.h xcopy /a /d /y CObject.h %PGE_PATH%\SDK\include\
if exist CStringA.h xcopy /a /d /y CStringA.h %PGE_PATH%\SDK\include\
if exist CStringW.h xcopy /a /d /y CStringW.h %PGE_PATH%\SDK\include\
if exist PGEString.h xcopy /a /d /y PGEString.h %PGE_PATH%\SDK\include\

if exist CRefObject.inl xcopy /a /d /y CRefObject.inl %PGE_PATH%\SDK\include\

if exist %PGE_PATH%\debug\PGEMain.lib xcopy /a /d /y %PGE_PATH%\debug\PGEMain.lib %PGE_PATH%\SDK\LIB\Debug\

if exist %PGE_PATH%\release\PGEMain.lib xcopy /a /d /y %PGE_PATH%\release\PGEMain.lib %PGE_PATH%\SDK\LIB\Release\

if exist %PGE_PATH%\debug\PGEMain.dll xcopy /a /d /y %PGE_PATH%\debug\PGEMain.dll %PGE_PATH%\SDK\DLL\Debug\

if exist %PGE_PATH%\release\PGEMain.dll xcopy /a /d /y %PGE_PATH%\release\PGEMain.dll %PGE_PATH%\SDK\DLL\Release\

make dr
make clean